package com.xh.core.controller;

import com.xh.core.bean.AjaxResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import me.chanjar.weixin.common.error.WxErrorException;
//import me.chanjar.weixin.mp.api.WxMpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/*
 * @Author daiwei
 * @Description
 * @Date 2019/5/24 16:49
 **/
//@Api(tags="微信公众号接口")
//@RestController
//@RequestMapping("/wx/mp")
//public class WxMpController extends BaseController {
//
//    @Autowired
//    public WxMpService wxMpService;
//
//    @ApiOperation("createJsapiSignature")
//    @PostMapping("/createJsapiSignature")
//    public AjaxResult createJsapiSignature(String url) throws WxErrorException {
//        return new AjaxResult(true,"",wxMpService.createJsapiSignature(url)) ;
//    }
//
//}
